package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.List;

public class VerificationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VerificationExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdWslIsNull() {
            addCriterion("id_wsl is null");
            return (Criteria) this;
        }

        public Criteria andIdWslIsNotNull() {
            addCriterion("id_wsl is not null");
            return (Criteria) this;
        }

        public Criteria andIdWslEqualTo(Integer value) {
            addCriterion("id_wsl =", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslNotEqualTo(Integer value) {
            addCriterion("id_wsl <>", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslGreaterThan(Integer value) {
            addCriterion("id_wsl >", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslGreaterThanOrEqualTo(Integer value) {
            addCriterion("id_wsl >=", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslLessThan(Integer value) {
            addCriterion("id_wsl <", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslLessThanOrEqualTo(Integer value) {
            addCriterion("id_wsl <=", value, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslIn(List<Integer> values) {
            addCriterion("id_wsl in", values, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslNotIn(List<Integer> values) {
            addCriterion("id_wsl not in", values, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslBetween(Integer value1, Integer value2) {
            addCriterion("id_wsl between", value1, value2, "idWsl");
            return (Criteria) this;
        }

        public Criteria andIdWslNotBetween(Integer value1, Integer value2) {
            addCriterion("id_wsl not between", value1, value2, "idWsl");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNull() {
            addCriterion("school_name is null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNotNull() {
            addCriterion("school_name is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameEqualTo(String value) {
            addCriterion("school_name =", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotEqualTo(String value) {
            addCriterion("school_name <>", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThan(String value) {
            addCriterion("school_name >", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThanOrEqualTo(String value) {
            addCriterion("school_name >=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThan(String value) {
            addCriterion("school_name <", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThanOrEqualTo(String value) {
            addCriterion("school_name <=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLike(String value) {
            addCriterion("school_name like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotLike(String value) {
            addCriterion("school_name not like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIn(List<String> values) {
            addCriterion("school_name in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotIn(List<String> values) {
            addCriterion("school_name not in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameBetween(String value1, String value2) {
            addCriterion("school_name between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotBetween(String value1, String value2) {
            addCriterion("school_name not between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andCourseIsNull() {
            addCriterion("course is null");
            return (Criteria) this;
        }

        public Criteria andCourseIsNotNull() {
            addCriterion("course is not null");
            return (Criteria) this;
        }

        public Criteria andCourseEqualTo(String value) {
            addCriterion("course =", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseNotEqualTo(String value) {
            addCriterion("course <>", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseGreaterThan(String value) {
            addCriterion("course >", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseGreaterThanOrEqualTo(String value) {
            addCriterion("course >=", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseLessThan(String value) {
            addCriterion("course <", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseLessThanOrEqualTo(String value) {
            addCriterion("course <=", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseLike(String value) {
            addCriterion("course like", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseNotLike(String value) {
            addCriterion("course not like", value, "course");
            return (Criteria) this;
        }

        public Criteria andCourseIn(List<String> values) {
            addCriterion("course in", values, "course");
            return (Criteria) this;
        }

        public Criteria andCourseNotIn(List<String> values) {
            addCriterion("course not in", values, "course");
            return (Criteria) this;
        }

        public Criteria andCourseBetween(String value1, String value2) {
            addCriterion("course between", value1, value2, "course");
            return (Criteria) this;
        }

        public Criteria andCourseNotBetween(String value1, String value2) {
            addCriterion("course not between", value1, value2, "course");
            return (Criteria) this;
        }

        public Criteria andCourseSortIsNull() {
            addCriterion("course_sort is null");
            return (Criteria) this;
        }

        public Criteria andCourseSortIsNotNull() {
            addCriterion("course_sort is not null");
            return (Criteria) this;
        }

        public Criteria andCourseSortEqualTo(Integer value) {
            addCriterion("course_sort =", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortNotEqualTo(Integer value) {
            addCriterion("course_sort <>", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortGreaterThan(Integer value) {
            addCriterion("course_sort >", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("course_sort >=", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortLessThan(Integer value) {
            addCriterion("course_sort <", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortLessThanOrEqualTo(Integer value) {
            addCriterion("course_sort <=", value, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortIn(List<Integer> values) {
            addCriterion("course_sort in", values, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortNotIn(List<Integer> values) {
            addCriterion("course_sort not in", values, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortBetween(Integer value1, Integer value2) {
            addCriterion("course_sort between", value1, value2, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseSortNotBetween(Integer value1, Integer value2) {
            addCriterion("course_sort not between", value1, value2, "courseSort");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIsNull() {
            addCriterion("course_level is null");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIsNotNull() {
            addCriterion("course_level is not null");
            return (Criteria) this;
        }

        public Criteria andCourseLevelEqualTo(String value) {
            addCriterion("course_level =", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotEqualTo(String value) {
            addCriterion("course_level <>", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelGreaterThan(String value) {
            addCriterion("course_level >", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelGreaterThanOrEqualTo(String value) {
            addCriterion("course_level >=", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLessThan(String value) {
            addCriterion("course_level <", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLessThanOrEqualTo(String value) {
            addCriterion("course_level <=", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelLike(String value) {
            addCriterion("course_level like", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotLike(String value) {
            addCriterion("course_level not like", value, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelIn(List<String> values) {
            addCriterion("course_level in", values, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotIn(List<String> values) {
            addCriterion("course_level not in", values, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelBetween(String value1, String value2) {
            addCriterion("course_level between", value1, value2, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseLevelNotBetween(String value1, String value2) {
            addCriterion("course_level not between", value1, value2, "courseLevel");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolIsNull() {
            addCriterion("course_school is null");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolIsNotNull() {
            addCriterion("course_school is not null");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolEqualTo(Integer value) {
            addCriterion("course_school =", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolNotEqualTo(Integer value) {
            addCriterion("course_school <>", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolGreaterThan(Integer value) {
            addCriterion("course_school >", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolGreaterThanOrEqualTo(Integer value) {
            addCriterion("course_school >=", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolLessThan(Integer value) {
            addCriterion("course_school <", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolLessThanOrEqualTo(Integer value) {
            addCriterion("course_school <=", value, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolIn(List<Integer> values) {
            addCriterion("course_school in", values, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolNotIn(List<Integer> values) {
            addCriterion("course_school not in", values, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolBetween(Integer value1, Integer value2) {
            addCriterion("course_school between", value1, value2, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andCourseSchoolNotBetween(Integer value1, Integer value2) {
            addCriterion("course_school not between", value1, value2, "courseSchool");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassIsNull() {
            addCriterion("major_subclass is null");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassIsNotNull() {
            addCriterion("major_subclass is not null");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassEqualTo(String value) {
            addCriterion("major_subclass =", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassNotEqualTo(String value) {
            addCriterion("major_subclass <>", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassGreaterThan(String value) {
            addCriterion("major_subclass >", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassGreaterThanOrEqualTo(String value) {
            addCriterion("major_subclass >=", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassLessThan(String value) {
            addCriterion("major_subclass <", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassLessThanOrEqualTo(String value) {
            addCriterion("major_subclass <=", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassLike(String value) {
            addCriterion("major_subclass like", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassNotLike(String value) {
            addCriterion("major_subclass not like", value, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassIn(List<String> values) {
            addCriterion("major_subclass in", values, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassNotIn(List<String> values) {
            addCriterion("major_subclass not in", values, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassBetween(String value1, String value2) {
            addCriterion("major_subclass between", value1, value2, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorSubclassNotBetween(String value1, String value2) {
            addCriterion("major_subclass not between", value1, value2, "majorSubclass");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNull() {
            addCriterion("major_name is null");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNotNull() {
            addCriterion("major_name is not null");
            return (Criteria) this;
        }

        public Criteria andMajorNameEqualTo(String value) {
            addCriterion("major_name =", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotEqualTo(String value) {
            addCriterion("major_name <>", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThan(String value) {
            addCriterion("major_name >", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThanOrEqualTo(String value) {
            addCriterion("major_name >=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThan(String value) {
            addCriterion("major_name <", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThanOrEqualTo(String value) {
            addCriterion("major_name <=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLike(String value) {
            addCriterion("major_name like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotLike(String value) {
            addCriterion("major_name not like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameIn(List<String> values) {
            addCriterion("major_name in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotIn(List<String> values) {
            addCriterion("major_name not in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameBetween(String value1, String value2) {
            addCriterion("major_name between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotBetween(String value1, String value2) {
            addCriterion("major_name not between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorRankIsNull() {
            addCriterion("major_rank is null");
            return (Criteria) this;
        }

        public Criteria andMajorRankIsNotNull() {
            addCriterion("major_rank is not null");
            return (Criteria) this;
        }

        public Criteria andMajorRankEqualTo(Integer value) {
            addCriterion("major_rank =", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankNotEqualTo(Integer value) {
            addCriterion("major_rank <>", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankGreaterThan(Integer value) {
            addCriterion("major_rank >", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankGreaterThanOrEqualTo(Integer value) {
            addCriterion("major_rank >=", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankLessThan(Integer value) {
            addCriterion("major_rank <", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankLessThanOrEqualTo(Integer value) {
            addCriterion("major_rank <=", value, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankIn(List<Integer> values) {
            addCriterion("major_rank in", values, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankNotIn(List<Integer> values) {
            addCriterion("major_rank not in", values, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankBetween(Integer value1, Integer value2) {
            addCriterion("major_rank between", value1, value2, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorRankNotBetween(Integer value1, Integer value2) {
            addCriterion("major_rank not between", value1, value2, "majorRank");
            return (Criteria) this;
        }

        public Criteria andMajorLevelIsNull() {
            addCriterion("major_level is null");
            return (Criteria) this;
        }

        public Criteria andMajorLevelIsNotNull() {
            addCriterion("major_level is not null");
            return (Criteria) this;
        }

        public Criteria andMajorLevelEqualTo(String value) {
            addCriterion("major_level =", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelNotEqualTo(String value) {
            addCriterion("major_level <>", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelGreaterThan(String value) {
            addCriterion("major_level >", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelGreaterThanOrEqualTo(String value) {
            addCriterion("major_level >=", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelLessThan(String value) {
            addCriterion("major_level <", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelLessThanOrEqualTo(String value) {
            addCriterion("major_level <=", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelLike(String value) {
            addCriterion("major_level like", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelNotLike(String value) {
            addCriterion("major_level not like", value, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelIn(List<String> values) {
            addCriterion("major_level in", values, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelNotIn(List<String> values) {
            addCriterion("major_level not in", values, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelBetween(String value1, String value2) {
            addCriterion("major_level between", value1, value2, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelNotBetween(String value1, String value2) {
            addCriterion("major_level not between", value1, value2, "majorLevel");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolIsNull() {
            addCriterion("establish_school is null");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolIsNotNull() {
            addCriterion("establish_school is not null");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolEqualTo(Integer value) {
            addCriterion("establish_school =", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolNotEqualTo(Integer value) {
            addCriterion("establish_school <>", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolGreaterThan(Integer value) {
            addCriterion("establish_school >", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolGreaterThanOrEqualTo(Integer value) {
            addCriterion("establish_school >=", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolLessThan(Integer value) {
            addCriterion("establish_school <", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolLessThanOrEqualTo(Integer value) {
            addCriterion("establish_school <=", value, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolIn(List<Integer> values) {
            addCriterion("establish_school in", values, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolNotIn(List<Integer> values) {
            addCriterion("establish_school not in", values, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolBetween(Integer value1, Integer value2) {
            addCriterion("establish_school between", value1, value2, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andEstablishSchoolNotBetween(Integer value1, Integer value2) {
            addCriterion("establish_school not between", value1, value2, "establishSchool");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelIsNull() {
            addCriterion("order_course_level is null");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelIsNotNull() {
            addCriterion("order_course_level is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelEqualTo(Integer value) {
            addCriterion("order_course_level =", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelNotEqualTo(Integer value) {
            addCriterion("order_course_level <>", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelGreaterThan(Integer value) {
            addCriterion("order_course_level >", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_course_level >=", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelLessThan(Integer value) {
            addCriterion("order_course_level <", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelLessThanOrEqualTo(Integer value) {
            addCriterion("order_course_level <=", value, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelIn(List<Integer> values) {
            addCriterion("order_course_level in", values, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelNotIn(List<Integer> values) {
            addCriterion("order_course_level not in", values, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelBetween(Integer value1, Integer value2) {
            addCriterion("order_course_level between", value1, value2, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderCourseLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("order_course_level not between", value1, value2, "orderCourseLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelIsNull() {
            addCriterion("order_major_level is null");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelIsNotNull() {
            addCriterion("order_major_level is not null");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelEqualTo(Integer value) {
            addCriterion("order_major_level =", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelNotEqualTo(Integer value) {
            addCriterion("order_major_level <>", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelGreaterThan(Integer value) {
            addCriterion("order_major_level >", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_major_level >=", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelLessThan(Integer value) {
            addCriterion("order_major_level <", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelLessThanOrEqualTo(Integer value) {
            addCriterion("order_major_level <=", value, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelIn(List<Integer> values) {
            addCriterion("order_major_level in", values, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelNotIn(List<Integer> values) {
            addCriterion("order_major_level not in", values, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelBetween(Integer value1, Integer value2) {
            addCriterion("order_major_level between", value1, value2, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andOrderMajorLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("order_major_level not between", value1, value2, "orderMajorLevel");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeIsNull() {
            addCriterion("major_level_code is null");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeIsNotNull() {
            addCriterion("major_level_code is not null");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeEqualTo(Integer value) {
            addCriterion("major_level_code =", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeNotEqualTo(Integer value) {
            addCriterion("major_level_code <>", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeGreaterThan(Integer value) {
            addCriterion("major_level_code >", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("major_level_code >=", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeLessThan(Integer value) {
            addCriterion("major_level_code <", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeLessThanOrEqualTo(Integer value) {
            addCriterion("major_level_code <=", value, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeIn(List<Integer> values) {
            addCriterion("major_level_code in", values, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeNotIn(List<Integer> values) {
            addCriterion("major_level_code not in", values, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeBetween(Integer value1, Integer value2) {
            addCriterion("major_level_code between", value1, value2, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andMajorLevelCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("major_level_code not between", value1, value2, "majorLevelCode");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIsNull() {
            addCriterion("school_uuid is null");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIsNotNull() {
            addCriterion("school_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidEqualTo(String value) {
            addCriterion("school_uuid =", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotEqualTo(String value) {
            addCriterion("school_uuid <>", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidGreaterThan(String value) {
            addCriterion("school_uuid >", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidGreaterThanOrEqualTo(String value) {
            addCriterion("school_uuid >=", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLessThan(String value) {
            addCriterion("school_uuid <", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLessThanOrEqualTo(String value) {
            addCriterion("school_uuid <=", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLike(String value) {
            addCriterion("school_uuid like", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotLike(String value) {
            addCriterion("school_uuid not like", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIn(List<String> values) {
            addCriterion("school_uuid in", values, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotIn(List<String> values) {
            addCriterion("school_uuid not in", values, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidBetween(String value1, String value2) {
            addCriterion("school_uuid between", value1, value2, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotBetween(String value1, String value2) {
            addCriterion("school_uuid not between", value1, value2, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIsNull() {
            addCriterion("major_uuid is null");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIsNotNull() {
            addCriterion("major_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andMajorUuidEqualTo(String value) {
            addCriterion("major_uuid =", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotEqualTo(String value) {
            addCriterion("major_uuid <>", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidGreaterThan(String value) {
            addCriterion("major_uuid >", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidGreaterThanOrEqualTo(String value) {
            addCriterion("major_uuid >=", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLessThan(String value) {
            addCriterion("major_uuid <", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLessThanOrEqualTo(String value) {
            addCriterion("major_uuid <=", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLike(String value) {
            addCriterion("major_uuid like", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotLike(String value) {
            addCriterion("major_uuid not like", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIn(List<String> values) {
            addCriterion("major_uuid in", values, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotIn(List<String> values) {
            addCriterion("major_uuid not in", values, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidBetween(String value1, String value2) {
            addCriterion("major_uuid between", value1, value2, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotBetween(String value1, String value2) {
            addCriterion("major_uuid not between", value1, value2, "majorUuid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}